<?php

class Core_Form_Login extends Zend_Form{
    

    public function __construct($view)
    {
        parent::__construct();
        $this->setView($view);
        $userName = new Zend_Form_Element_Text("username");
        $userName->setLabel("用户名");
        $passWord = new Zend_Form_Element_Text("password");
        $passWord->setLabel("密码");
        $submit = new Zend_Form_Element_Submit("submit");
        $submit->setLabel("登录");
        $reset = new Zend_Form_Element_Submit("reset");
        $reset->setLabel("重置");
        $this->addElements(array($userName , $passWord , $submit , $reset));
    }

    

}